package cloudgamesaumysql

import (
	"gorm.io/gorm"
	"time"
)

/*
  @author liubogeng
  @date   2025/2/25 21:21
*/

// CGGameAUAboutHaiMaCloudConfiguration 云游戏AU关于海马云配置表
type CGGameAUAboutHaiMaCloudConfiguration struct {
	ID        int64          `json:"id" gorm:"column:id;type:bigint;primaryKey;autoIncrement;comment:ID"`
	HsnTotal  int64          `json:"hsn_total" gorm:"column:hsn_total;type:bigint;not null;default:0;comment:配置当前海马云的总实例数"`
	Proposer  string         `json:"proposer" gorm:"column:proposer;type:varchar(32);not null;default:'';comment:操作人"`
	CreatedAt time.Time      `json:"created_at" gorm:"column:created_at;type:datetime;comment:该条记录创建时间"`
	UpdatedAt time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime;comment:该条记录修改时间"`
	DeletedAt gorm.DeletedAt `json:"-" gorm:"index;type:datetime;comment:该条记录删除时间"`
}

func (CGGameAUAboutHaiMaCloudConfiguration) TableName() string {
	return "cg_game_au_about_haimacloud_configuration"
}
